import axios from '@/common/request.js';

//登录授权接口
export const loginByWeiXin = payload => axios({
	url: `/auth/login_by_weixin`,
	method: 'post',
	payload
})

//获取店铺信息
export const shopInfo = payload => axios({
	url: `/shop/index`,
	method: 'post',
	payload
})

//更新用户手机
export const updateMobile = payload => axios({
	url:`/auth/getMobile`,
	method:'post',
	payload
})
//获取用户信息
export const userInfo = payload => axios({
	url:`/user/info`,
	method:'post',
	payload
})